package com.hm.hall.commons.controller;

import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
    @ApiOperation(value = "helloWorld", notes = "")
    @RequestMapping(value = "/hello", method = RequestMethod.GET)
    public String index() {
        //throw new NullPointerException();
        return "Hello World";
    }

}
